package Z004LiuChengkongZhi;

public class KZif {
    public static void main(String[] args){

        boolean b = true;
        if(b){
            System.out.println("yes");
        }

        boolean b1 = false;
        if (b1){
            System.out.println("yes1");
            System.out.println("yes2");
            System.out.println("yes3");
        }

        if (b1){
            System.out.println("yes1");
        }

        if (b1) System.out.println("yes");

        if(b1);
        System.out.println("yes");

        boolean b3  = false ;
        if (b3)
            System.out.println("yes");
        else
            System.out.println("no");

        int i = 2 ;
        if (i == 1){
            System.out.println(1);
        }else if (i == 2){
            System.out.println(2);
        }else if (i == 3){
            System.out.println(3);
        }else if (i == 4){
            System.out.println(4);
        }

        int j = 1;
        if ( j == 1) System.out.println(1);
        if ( j == 2) System.out.println(2);
        if ( j == 3) System.out.println(3);
        if ( j == 4) System.out.println(4);

        // 练习 BMI
        // 练习 是否为闰年
    }
}
